package com.atguigu.daijia.driver.service;

import com.atguigu.daijia.model.vo.driver.DriverLicenseOcrVo;
import com.atguigu.daijia.model.vo.driver.IdCardOcrVo;
import org.springframework.web.multipart.MultipartFile;

public interface OcrService {

    /**
     * 上传身份证并进行 OCR 识别
     * @param file
     * @return
     */
    IdCardOcrVo uploadIdCardAndOcr(MultipartFile file);

    /**
     * 上传驾驶证并进行 OCR 识别
     * @param file
     * @return
     */
    DriverLicenseOcrVo uploadDriverLicenseAndOcr(MultipartFile file);
}
